package cool.goodbai.api;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "基本实体")
@Accessors(chain = true)
public class BaseEntity implements Serializable {
    /**
     * 序列化
     * The constant serialVersionUID.
     */
    protected static final long serialVersionUID = 4846381295033205916L;
    /**
     * id
     * The id.
     */
    @ApiModelProperty(value = "id", required = false)
    protected Long id;
    /**
     * UTC创建时间
     * The Utc create.
     */
    @ApiModelProperty(value = "创建时间", required = false)
    protected Date utcCreate;
    /**
     * UTC修改时间
     * The Utc modify.
     */
    @ApiModelProperty(value = "修改时间", required = false)
    protected Date utcModify;
    /**
     * 创建人
     * The Create by.
     */
    @ApiModelProperty(value = "创建人", required = false)
    protected String createBy;
    /**
     * 修改人
     * The Modify by.
     */
    @ApiModelProperty(value = "修改人", required = false)
    protected String modifyBy;
    /**
     * 是否有效
     * The Valid.
     */
    @ApiModelProperty(value = "是否有效", required = false)
    protected Boolean valid;
    /**
     * 备注
     * The Remark.
     */
    @ApiModelProperty(value = "备注", required = false)
    protected String remark;
}

